package com.scm.persist.mybatis;

import com.scm.persist.model.ScmProject;
import com.scm.persist.model.ScmProjectExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface ScmProjectMapper {
    int countByExample(ScmProjectExample example);

    int deleteByExample(ScmProjectExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ScmProject record);

    int insertSelective(ScmProject record);

    List<ScmProject> selectByExampleWithRowbounds(ScmProjectExample example, RowBounds rowBounds);

    List<ScmProject> selectByExample(ScmProjectExample example);

    ScmProject selectByPrimaryKey(@Param("tenantId") Long tenantId,@Param("id") Long id);

    int updateByExampleSelective(@Param("record") ScmProject record, @Param("example") ScmProjectExample example);

    int updateByExample(@Param("record") ScmProject record, @Param("example") ScmProjectExample example);

    int updateByPrimaryKeySelective(ScmProject record);

    int updateByPrimaryKey(ScmProject record);
}
